package com.aidex.system.service.impl;

import com.aidex.common.core.service.impl.BasicServiceImpl;
import com.aidex.common.utils.NumberUtils;
import com.aidex.system.domain.SysThemeConfig;
import com.aidex.system.mapper.SysThemeConfigMapper;
import com.aidex.system.service.SysThemeConfigService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true)
public class SysThemeConfigServiceImpl extends BasicServiceImpl<SysThemeConfigMapper, SysThemeConfig> implements SysThemeConfigService {

    @Override
    public int findMaxSort() {
        return NumberUtils.nextOrder(mapper.findMaxSort());
    }
}
